home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / patchtru.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  485 b   |  16 lines

  1. /*
  2.                             P A T C H T R U . C
  3. */
  4.  
  5. #include "iccomp.h"
  6.  
  7. void patchtrue(e)
  8.     ESTRUC_
  9.         *e;
  10. {                                           /* expand the truelist */
  11.     e->truelist = xrealloc(e->truelist, (e->truelen + 1) * sizeof(unsigned));
  12.  
  13.                                             /* room for the jump-backpatch */
  14.     e->code = xrealloc(e->code, e->codelen += sizeof(INT16));
  15.     e->truelist[e->truelen++] = e->codelen;   /* store jumpstart location */
  16. }